package com.dhcc.bpm.modules.log.service.impl;

import com.dhcc.bpm.modules.log.entity.Logininfor;
import com.dhcc.bpm.modules.log.vo.LogininforVO;
import com.dhcc.bpm.modules.log.mapper.LogininforMapper;
import com.dhcc.bpm.modules.log.service.ILogininforService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName LogininforServiceImpl.class
 * @Description  系统访问记录 服务实现类
 * @Author xiaFaYu
 * @Date 2019-12-16 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service
public class LogininforServiceImpl extends BaseServiceImpl<LogininforMapper, Logininfor> implements ILogininforService {

	/**
	 * @Description 自定义分页
	 * @Author xiafayu
	 * @Date 2020/2/24 15:37
	 * @param page
	 * @param logininfor
	 * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.modules.log.vo.LogininforVO>
	 **/
	@Override
	public IPage<LogininforVO> selectLogininforPage(IPage<LogininforVO> page, LogininforVO logininfor) {
		return page.setRecords(baseMapper.selectLogininforPage(page, logininfor));
	}

}
